<script setup lang="ts">
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app'
import { themeStore } from '@/stores'
const theme = themeStore()
onLaunch(() => {
  plus.nativeUI.setUIStyle(theme.themeClass)
})
onShow(() => { })
onHide(() => { })
</script>

<style lang="scss">
// 字体图标
@use '@/styles/fonts.scss';
@use '@/styles/theme.scss';

view,
navigator,
input,
scroll-view {
  box-sizing: border-box;
}

button::after {
  border: none;
}

image {
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

// 两行省略
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body {

  //全局点击反馈样式
  .hover-view {
    transition: all 0.1s;
    background-color: #9b9b9b21 !important;
    color: #0066ff !important;
  }
}
</style>
